package com.common.enums;

/**
 * @类名 UserInfoEnum
 * @描述 TODO
 * @版本 1.0
 * @创建人 lying
 * @创建时间 2020/5/3 14:53
 * @修改人 lying
 * @修改时间 2020/5/3 14:53
 **/
public enum UserInfoEnum {
    USER_NAME("userName","用户名"),
    USER_ID("userId","用户主键id"),
    ROLE("role","角色"),
    IP("ip","ip"),
    VERSION("version","version"),
    DEVICE_ID("deviceId","登录设备识别码"),
    DEVICE_MODEL("deviceModel","登录设备型号"),
    DEVICE_SYSTEM("deviceSystem","登录设备系统");
    private String value;
    private String description;

    UserInfoEnum(String value, String description) {
        this.value = value;
        this.description = description;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
